import request from '@/utils/request'
export function listOrder(data) {
	return request({
		url: '/ims/produce/order/page',
		method: 'get',
		params: data
	})
}
export function getOrder(data) {
	return request({
		url: '/ims/produce/order/detail/'+data,
		method: 'get'
	})
}
export function changeOrder(data) {
	return request({
		url: '/ims/customer/order/edit',
		method: 'post',
		data: data
	})
}
export function startOrder(data) {
	return request({
		url: '/ims/produce/order/begin',
		method: 'post',
		data: data
	})
}
// 工序管理
export function getProduceProcess(data) {
	return request({
		url: '/ims/process/flow/detail/'+data,
		method: 'get',
		data: data
	})
}
export function reportProduceOrder(data) {
  return request({
    url: '/ims/produce/order/work/report', method: 'post',data:data
  })
}
export function storeProduceOrder(data) {
  return request({
    url: '/ims/produce/order/store', method: 'post', data: data
  })
}